<HTML><HEAD><TITLE>min(+Vars, ?Min)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">library(ic)</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>min(+Vars, ?Min)</H1>
Constrains Min to be the smallest element in Vars.
<DL>
<DT><EM>Vars</EM></DT>
<DD>Collection (a la collection_to_list/2) of variables or numbers (NOT arbitrary expressions)
</DD>
<DT><EM>Min</EM></DT>
<DD>Minimum element of Vars
</DD>
</DL>
<H2>Description</H2>
<P>
   Constrains Max to be the smallest element in the collection of variables
   or numbers Vars.</P><P>

   You may find it more convenient to embed <TT>min(Vars)</TT> in a
   constraint.

<H2>See Also</H2>
<A HREF="../../lib/ic/max-2.html">max / 2</A>, <A HREF="../../lib/lists/collection_to_list-2.html">lists : collection_to_list / 2</A>
</BODY></HTML>
